<? if(!defined('IN_TIPASK')) exit('Access Denied'); ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd"><? $user=$this->user; $setting=$this->setting; ?><html xmlns="http://www.w3.org/1999/xhtml">

<head>
<title>Tipask's Control Panel</title>
<meta http-equiv="Content-Type" content="text/html; charset=<?=TIPASK_CHARSET?>">
<link media="all" type="text/css" href="css/common/admin/admincp.css" rel="stylesheet" />
</head>

<body>

<div id="append">
</div>

<div class="container"><? if(isset($message)) { $type=isset($type)?$type:'correctmsg';  ?><div class="<?=$type?>"><p><?=$message?></p></div><? } ?><div class="note fixwidthdec">
<p class="i">经验和金币都可以设置为负数，0，或者正数，负数表示扣分。</p>
</div>
<div class="mainbox nomargin">
<form action="index.php?admin_setting/credit<?=$setting['seo_suffix']?>" method="post">
<table class="opt">
<tr>
<th>参数名称</th>
<th>经验值</th>
<th>财富值</th>
</tr>
<tr>
<td>注册用户获得：</td>
<td><input value="<?=$setting['credit1_register']?>" name="credit1_register"></td>
<td><input value="<?=$setting['credit2_register']?>" name="credit2_register"></td>
</tr>
<tr>
<td>登录系统获得：</td>
<td><input value="<?=$setting['credit1_login']?>" name="credit1_login"></td>
<td><input value="<?=$setting['credit2_login']?>" name="credit2_login"></td>
</tr>
<tr>
<td>提出问题获得：</td>
<td><input value="<?=$setting['credit1_ask']?>" name="credit1_ask"></td>
<td><input value="<?=$setting['credit2_ask']?>" name="credit2_ask"></td>
</tr>
<tr>
<td>回答问题获得：</td>
<td><input value="<?=$setting['credit1_answer']?>" name="credit1_answer"></td>
<td><input value="<?=$setting['credit2_answer']?>" name="credit2_answer"></td>
</tr>
<tr>
<td>回答被采纳：</td>
<td><input value="<?=$setting['credit1_adopt']?>" name="credit1_adopt"></td>
<td><input value="<?=$setting['credit2_adopt']?>" name="credit2_adopt"></td>
</tr>
<tr>
<td>发短消息获得：</td>
<td><input value="<?=$setting['credit1_message']?>" name="credit1_message"></td>
<td><input value="<?=$setting['credit2_message']?>" name="credit2_message"></td>
</tr>
</table>
<div class="opt">
<input class="btn" tabindex="3" type="submit" value=" 提 交 " name="submit"></div>
</form>
</div>
</div>

</body>

</html>
